// components/newsPoster/newsPoster.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    newsArr:Array
  },


  data: {
    
  },
  methods: {
    onSupport(e){
      let {support,id,supported}= e.currentTarget.dataset
     
      this.triggerEvent("support",{support,id,supported})
    }
  }
})
